package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 * @description 群组成员角色枚举类
 */
@Getter
public enum GroupMemberRoleEnum implements CommonEnum{
    OWNER(0, "群主"),
    ADMIN(1, "管理员"),
    MEMBER(2, "普通成员");

    private Integer code;
    private String name;

    GroupMemberRoleEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
